package org.jjj.finance.service.impl;

import org.jjj.finance.domain.Deposit;
import org.jjj.finance.mapper.DepositMapper;
import org.jjj.finance.service.IDepositService;
import org.jjj.finance.vo.LineChartDataVO;
import org.jjj.org.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jiangjianjun
 * @since 2022-10-26
 */
@Service
public class DepositServiceImpl extends BaseServiceImpl<Deposit> implements IDepositService {
@Autowired
private DepositMapper depositMapper;

    /**
     * 获取每天的定金总额和定金笔数
     * @return
     */
    @Override
    public List<LineChartDataVO> getSumCount() {
        return depositMapper.getSumCount();
    }
}
